﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.Domain.Models
{
    public class MDtSer
    {
        public Guid Id { get; set; }

        public Guid FolderId { get; set; }

        public string Name { get; set; }

        public string Description { get; set; }

        public string Address { get; set; }

        public bool NeedAuth { get; set; }

        public string AuthUser { get; set; }

        public string AuthPassword { get; set; }

        public bool IsDeleted { get; set; }

        public bool IsEnabled { get; set; }

        public string Creator { get; set; }

        public DateTime CreatedTime { get; set; }

        public Guid CategoryId { get; set; }

        public Guid TypeId { get; set; }

        public List<MDtSource> Sources { get; set; }

        public MDtSer(Guid id)
        {
            this.Id = id;

            Sources = new List<MDtSource>();
        }
    }
}
